<!-- 注册 -->
<div id="sss" class="kaultra-container">

</div>
<script>
    layui.use(['kahtml','jquery'], function () {
        var $ = layui.jquery;
        var registerkey = kaRegisterPrimaryKey.registerId(["sss","sss1","sss2","xxx1","xxx2"]);
        if(registerkey.judge) {
            var kahtml = layui.kahtml;
            
            // 表格分栅格
            gridHtmlData = {
                id: registerkey.ids[0],
                colSpace: 1, // Grid 间隔
                list: [{
                    id: registerkey.ids[1],
                    colXs: 6
                },{
                    id: registerkey.ids[2],
                    colXs: 6
                }] // 循环数据
            }
            kahtml.getTemplateHtml("grid", gridHtmlData);
            // 面板1
            panelHtmlData1 = {
                id: registerkey.ids[1],
                list: [{
                    id: registerkey.ids[3]
                }] 
            }
            kahtml.getTemplateHtml("panel", panelHtmlData1);
            // 面板2
            panelHtmlData2 = {
                id: registerkey.ids[2],
                list: [{
                    id: registerkey.ids[4]
                }] 
            }
            kahtml.getTemplateHtml("panel", panelHtmlData2);
            $("#" + registerkey.ids[3]).html("111111111111111111");
            $("#" + registerkey.ids[4]).html("111111111111111111");
        }
    })
</script>